<template>
    <div style="width: 100%; height: 100%;">
        <!-- <van-image width="100%" height="100%" src="https://pic.616pic.com/bg_w1180/00/09/52/GmJ6txKsYK.jpg" /> -->
        <video style="width: 100%;height: 100%;" autoplay src="../../assets/videos/VCG42N1498098426.mp4" muted loop></video>
        <div class="sy">
            <div class="wz">
                <h2>随时随地</h2>
                <h4>专享视频/私教健身服务</h4>
            </div>
            <div class="an">
                <van-button class="btn1" to="/login">登录</van-button>
                <van-button class="btn2" to="/register">注册</van-button>
            </div>
        </div>
    </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.sy {
    margin: 0 30px;

    .wz {
        position: absolute;
        bottom: 200px;
        color: white;
    }

    .an {
        position: absolute;
        bottom: 80px;

        .btn1 {
            width: 150px;
            height: 50px;
            margin-right: 20px;
            border-radius: 5px;
        }

        .btn2 {
            width: 150px;
            height: 50px;
            color: white;
            background-color: #9c8be9;
            border-radius: 5px;
        }

    }
}
</style>